const Service = require('egg').Service;

class banner extends Service {
    /*主页内容列表*/
    async bannerList(code) {
       /* 线上班code: class_banner
        首页轮播code: index_banner
        vip会员区code: vip_area*/
        return  await this.ctx.service.base.getService('/device/adInfo/list',{ code });
    }
}

module.exports = banner;


